import React from 'react'

import Loadable from 'react-loadable';

export default function withLoadable(component: any) {
    return Loadable({
        loader: component,
        loading: () => null,
        delay: 0
    })
}